/****************************************************
    Author:            龙之介
    CreatTime:    2020/12/27 4:40:18
    Description:     Nothing
*****************************************************/

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System;
using UnityEngine.UI;
using ZYKTool;
using System.Linq;



namespace LongZhiJie
{
	public class TapTapUIManger :MonoBehaviour
	{
        public Text _玩家;
        public Text _boss;
        private void Update()
        {
            if (TapTapStaticValue.PlayerAttributes == null) return;
            _玩家.text = TapTapStaticValue.PlayerAttributes.Blood.ToString();
            if (TapTapStaticValue.BossCurrent == null) return;
            _boss.text = TapTapStaticValue.BossCurrent._Blood.ToString();

        }
        public void BossDie()
        {
            TapTapStaticValue.BossCurrent.BossHunt(50000000);
        }
    }
}